let config = {
    // targetUrl: 'http://www.nipic.com/index.html', // 采集图片的源地址 var imgEle = $('.paddingLay1 img');
    // targetUrl: 'https://item.taobao.com/item.htm?spm=a219r.lm843.14.1.7755587e0Rbsi5&id=561484342480&ns=1&abbucket=11#detail', 

    downloadImgPath: './upload/', // 爬虫抓取存放本地路径
    encode: 'utf-8', // 网页内容编码类型
    pickMetaData: [{ // 抓取图片网址相关配置
        url: 'https://item.taobao.com/item.htm?spm=a219r.lm843.14.1.7755587e0Rbsi5&id=561484342480&ns=1&abbucket=11#detail',
        selector: '.tb-thumb img',
        imgAttr: 'data-src',
        imgAttrPrefixExt: 'https:'
    },{ 
        url: 'http://www.nipic.com/index.html', // 昵图网
        selector: '.paddingLay1 img', // 抓取图片选择器
        imgAttr: 'src', // 图片地址所在属性的名称
        imgAttrPrefixExt: '' // 图片网址协议补全 如没有https:需要加上这个
    },{
        url: 'https://detail.1688.com/offer/587478121435.html',
        selector: '.tab-content-container img',
        imgAttr: 'src',
        imgAttrPrefixExt: ''
        
    },{
        url: 'https://www.1688.com',
        selector: '.tab-content img',
        imgAttr: 'src',
        imgAttrPrefixExt: ''
        
    }]

}

module.exports = config